package com.bite.bite_forum.services;

import com.bite.bite_forum.model.Article;

import java.util.List;

public interface IArticleService {
    void create(Article article);

    List<Article> selectAll();
    List<Article> selectAllByBoardId(Long boardId);

    Article selectDetailById(Long id);

    void modify(Long id, String title,  String content);
    Article selectById(Long id);

    void thumbsUpById(Long id);
    void deleteById(Long id);

    void  addArticleReplyCountById(Long id);

    List<Article>  selectByUserId(Long userId);

}
